<%--
  Created by IntelliJ IDEA.
  User: 28985
  Date: 2021/11/7
  Time: 11:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <h1>账户列表</h1>
    <table>
        <tr> <th> id</th> <th>名称</th> <th>金额</th></tr>
        <c:forEach items="${accountList}" var="account">
            <tr>
                <td>${account.id} </td>
                <td>${account.name} </td>
                <td>${account.money} </td>
            </tr>
        </c:forEach>
    </table>
</body>
</html>